package com.lanou.musicproject.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by dllo on 15/10/20.
 */
public class Rank {

    private int error_code;
    private List<ContentEntity> content;

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public void setContent(List<ContentEntity> content) {
        this.content = content;
    }

    public int getError_code() {
        return error_code;
    }

    public List<ContentEntity> getContent() {
        return content;
    }

    public static class ContentEntity implements Serializable{
        /**
         * name : 新歌榜
         * type : 1
         * comment : 该榜单是根据百度音乐平台歌曲每日播放量自动生成的数据榜单，统计范围为近期发行的歌曲，每日更新一次
         * web_url :
         * pic_s192 : http://b.hiphotos.baidu.com/ting/pic/item/9922720e0cf3d7caf39ebc10f11fbe096b63a968.jpg
         * pic_s444 : http://d.hiphotos.baidu.com/ting/pic/item/78310a55b319ebc4845c84eb8026cffc1e17169f.jpg
         * pic_s260 : http://b.hiphotos.baidu.com/ting/pic/item/e850352ac65c1038cb0f3cb0b0119313b07e894b.jpg
         * pic_s210 : http://d.hiphotos.baidu.com/ting/pic/item/c8ea15ce36d3d5393654e23b3887e950342ab0d9.jpg
         * content : [{"title":"少年说","author":"TFBOYS","song_id":"250575120","album_id":"250574728","album_title":"少年说","rank_change":"0","all_rate":"flac,320,256,192,128,64,24"},{"title":"夏洛特烦恼","author":"金志文","song_id":"247911654","album_id":"247911669","album_title":"夏洛特烦恼","rank_change":"0","all_rate":"flac,320,256,192,128,64,24"},{"title":"八戒八戒","author":"小沈阳","song_id":"251949755","album_id":"251950349","album_title":"八戒八戒","rank_change":"0","all_rate":"320,24,256,192,128,64"},{"title":"I (feat. Verbal Jint)","author":"太妍","song_id":"251477118","album_id":"251477292","album_title":"I - The 1st Mini Album","rank_change":"2","all_rate":"flac,320,256,192,128,64,24"}]
         */

        private String name;
        private String web_url;
        private String pic_s192;
        private String pic_s260;
        private String type;
        private List<RankItem> content;

        public String getPic_s260() {
            return pic_s260;
        }

        public void setPic_s260(String pic_s260) {
            this.pic_s260 = pic_s260;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setWeb_url(String web_url) {
            this.web_url = web_url;
        }

        public void setPic_s192(String pic_s192) {
            this.pic_s192 = pic_s192;
        }

        public void setContent(List<RankItem> content) {
            this.content = content;
        }

        public String getName() {
            return name;
        }

        public String getWeb_url() {
            return web_url;
        }

        public String getPic_s192() {
            return pic_s192;
        }

        public List<RankItem> getContent() {
            return content;
        }

        public static class RankItem implements Serializable{
            /**
             * title : 少年说
             * author : TFBOYS
             * song_id : 250575120
             * album_id : 250574728
             * album_title : 少年说
             * rank_change : 0
             * all_rate : flac,320,256,192,128,64,24
             */

            private String title;
            private String author;
            private String song_id;

            public void setTitle(String title) {
                this.title = title;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public void setSong_id(String song_id) {
                this.song_id = song_id;
            }

            public String getTitle() {
                return title;
            }

            public String getAuthor() {
                return author;
            }

            public String getSong_id() {
                return song_id;
            }
        }
    }
}
